-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mono][jit] Reenable branch optimizations when running with llvm. #97189
Conversation
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-ioslike |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-ioslike |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime |
Azure Pipelines successfully started running 1 pipeline(s). |
This PR will reduce both executable size and aot compiler memory usage by eliminating code early. Previously, we were only running branch optimizations in opt/llc, so if we had code like: |
/azp runtime-extra-platforms |
Command 'runtime-extra-platforms' is not supported by Azure Pipelines. Supported commands
See additional documentation. |
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
This is supposed to return a 16xi8 so there is no need to cast it. This only worked by accident because the phi handling code casted it to the right type most of the time.
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
This saves around 120k on an aot hello world on wasm. |
Failures are probably unrelated, the llvm lanes are timing out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume the changes to lhs
are to fix crashes you hit while doing this. Looks fine to me.
No description provided.